import Http from '@/utils/http'

// 类的继承
// class UserModel extends Http.__proto__.constructor {
class UserModel extends Http {
  login(userData) {
    return this.post('/api/login', userData)
  }
}

export default new UserModel()
